package com.otom.bcel.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MapTo {
	String name();
	Class<?> forClass() default void.class;
	String targetGetMethod() default "";	
	String targetSetMethod() default "";
	String convertTargetToThis() default "";
	String convertThisToTarget() default "";
	boolean mappedClass() default false;// @MappedClass
	String postCallBack() default "";
	CollectionIndexHint hints() default @CollectionIndexHint({});
}